ArcPad Extension Preferences File Schema
EXTENSION Element
See Also  Send comments on this topic.
ArcPad Extension Preferences File Schema > ArcPad Element > EXTENSIONS Element : EXTENSION Element

Glossary Item Box

Description

Used to define an Extension dll and configure its loading settings

Diagram

EXTENSION Element

Overview

EXTENSION 1..∞
Used to define an Extension dll and configure its loading settings
delayload optional Restriction of xs:string
enabled optional Restriction of xs:string
Specifies if the extension is enabled or not.

Attributes

NameTypeUseDefaultFixedDescription
delayloadRestriction of xs:stringoptionalfalse  
enabledRestriction of xs:stringoptionaltrue Specifies if the extension is enabled or not.

Remarks

From a C++ perspective, all extensions/module implement APExGetProperty() that tell ArcPad what those extensions do. When we load an extension/module record what each extensions's responses were to APExGetProperty() and save them to ExtensionPrefs.apx.

In <EXTENSION> tag, users can set the value of two attributes: delayload and enabled.All other attributes are information of reponses to APExGetProperty() saved by ArcPad when extensions are loaded.

Examples

Source

<xs:element name="EXTENSION" maxOccurs="unbounded" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:attribute default="false" ref="delayload">
      <xs:annotation>
        <xs:documentation>Specified whether to delay the loading of the extension dll.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="enabled" default="true">
      <xs:annotation>
        <xs:documentation>Specifies if the extension is enabled or not.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.